<#include "/layout/easyuilayout.ftl"/>

<@htmlHead >
	<script type="text/javascript" src="${webinfo.basePath}/MgrScript/sysmgr/typeitem/js/index.js"></script>
</@htmlHead>  
<@htmlBody>
 

 <div id="App_Type_Toolbar">
     <input id="App_Type_ss" class="easyui-searchbox" style="width:280px;"  data-options="searcher:fun_App_TypeSearchbox,prompt:'请输入关键字...',menu:'#App_Type_mm'"></input>
     <div id="App_Type_mm" style="width:120px">
         <div data-options="name:'typeId',iconCls:'sealist'">编码</div>
         <div data-options="name:'typeName',iconCls:'sealist'">名称</div>
     </div>
     <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-reload" plain="true" onclick="fun_ReloadApp_TypeList()">刷新 </a>
 </div>

    <div data-options="region:'west',title:'',split:true,width:360" style="border-right: solid 1px #ccc" >
        <ul id="App_Type_Grid"></ul>
    </div>



<div id="App_Type_Item_Toolbar">
        
   <input id="App_Type_Item_ss" class="easyui-searchbox" style="width:280px;"  data-options="searcher:fun_App_Type_ItemSearchbox,prompt:'请输入关键字...',menu:'#App_Type_Item_mm'"></input>           
    <div id="App_Type_Item_mm" style="width:120px">    
        <div data-options="name:'attrMemo',iconCls:'sealist'">属性说明</div>
        <div data-options="name:'attrCode',iconCls:'sealist'">属性编码</div>
    </div>  
   
   <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-add" plain="true" onclick="fun_ShowApp_Type_ItemEditForm(-1)">新建</a>
    <span class="datagrid-btn-separator" style="float: none;"></span>
  
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-reload" plain="true" onclick="fun_ReloadApp_Type_ItemList()">刷新 </a>
 


   </div>


<div data-options="region:'center',title:'',split:true,border:false" >
    <table id="App_Type_Item_Grid"> </table> 
</div>
 <input id="roottypeid"   value="000"   type="hidden"  />

<div id="App_Type_Item_EditForm" class="easyui-dialog" style="width:700px;height:460px;padding:0px"  closed="true"  modal="true"    buttons="#App_Type_Item_EditForm_buttons" > 
    <form  id="App_Type_Item_EditForm_fm"  method="post"  > 
	   <div class="fitem" style="display:none;">  
            <label>编号 : </label>  
            <input name="id" class="easyui-numberbox" value="" data-options="required:false"     />
        </div>
        <div class="fitem"  style="width:685px;">
            <label>类型编码 : </label>
            <input name="typeId" id="typeId" class="easyui-validatebox" value="" data-options="required:false"    readonly="readonly"  style="width:485px; " />
        </div>
        <div class="fitem" style="width:685px;">  
            <label>属性编码 : </label> 
            <input id="attrCode" name="attrCode" class="easyui-combobox"   style="width:485px; " />
        </div> 
        <div class="fitem" style="width:685px;">
            <label>属性说明 : </label>  
            <input name="attrMemo" id="attrMemo" class="easyui-validatebox" value="" data-options="required:false"   readonly="readonly"   style="width:485px; "  />
        </div>
        <div class="fitem" style="width:685px;">  
            <label>属性值 : </label>  
            <input name="attrValue" id="attrValue" class="easyui-validatebox" value="" data-options="required:false" style="width:485px; "    />
        </div>  
    </form>
</div>
<div id="App_Type_Item_EditForm_buttons">
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="fun_SaveApp_Type_Item()">保存</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#App_Type_Item_EditForm').dialog('close')">取消</a>
</div>



 
</@htmlBody>